package com.zbkj.crmeb.block.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.MyRecord;
import com.common.PageParamRequest;
import com.zbkj.crmeb.block.model.Increment;
import com.zbkj.crmeb.block.request.IncrementSearchRequest;
import com.zbkj.crmeb.store.model.StoreOrder;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface BlockService extends IService<Increment> {
    List<Increment> getList(IncrementSearchRequest request, PageParamRequest pageParamRequest);

    Boolean isOpen();

    void calculateIncrement(StoreOrder order);

    void saveIncrementEveryDay();

    Map<Object, Object> trendHistory(String searchDateLately30);

    BigDecimal getCurrentPrice();

}
